You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > MtxIntDiff Class > MtxIntDiff Methods > MtxIntDiff.NumericGradHess Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MtxIntDiff.NumericGradHess Method

Numerical gradient and Hessian matrix.

Syntax
C#
Visual Basic
public static void NumericGradHess(TRealFunction Fun, [In] TVec Pars, [In] TVec Consts, [In] object[] ObjConst, [In] TVec Grad, [In] TMtx Hess);
Parameters 
Description 
TRealFunction Fun 
Real function of several variables. 
[In] TVec Pars 
Function variables. 
[In] TVec Consts 
Array of additional constants which can be used in math formula. 
[In] object[] ObjConst 
Array of additional constants (pointers) which can be used in math formula. 
[In] TVec Grad 
Returns calculated gradient. If needed, Grad Length and Complex properties are adjusted automatically. 
[In] TMtx Hess 
Returns calculated Hessian matrix. If needed, Hess matrix size and complex properties are adjusted automatically. 

Calculates the numerical gradient and Hessian matrix.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!